Spread Windows Forms 10.0 Product Documentation
CollectionBase<T> Class Members
Properties  Methods  Events


The following tables list the members exposed by CollectionBase<T>.

Public Constructors
 NameDescription
Public ConstructorCollectionBase<T> ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCapacityGets or sets the number of elements that the System.Collections.CollectionBase can contain. (Inherited from System.Collections.CollectionBase)
Public PropertyCountGets the number of elements contained in the System.Collections.CollectionBase instance. This property cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public PropertyItemGets or sets the T at the specified index in the collection.  
Top
Protected Properties
 NameDescription
Protected PropertyInnerListGets an System.Collections.ArrayList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Protected PropertyListGets an System.Collections.IList containing the list of elements in the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Top
Public Methods
 NameDescription
Public MethodAddAdds the specified T to the collection.  
Public MethodAddRangeOverloaded. Copies the elements of the specified array to the end of the collection.  
Public MethodClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. (Inherited from System.Collections.CollectionBase)
Public MethodContainsGets a value that indicates whether the collection contains the specified T.  
Public MethodCopyToCopies the collection objects to a one-dimensional System.Array instance beginning at the specified index.  
Public MethodDefaultPredicate<TTarget>Represents a default predicate.  
Public MethodExistsOverloaded. Determines whether the List contains elements that match the conditions defined by the specified predicate.  
Public MethodFindOverloaded. Searches for a T that matches the specified type TTarget, and returns the first occurrence within the entire collection.  
Public MethodFindAllOverloaded. Retrieves all the T that match the specified type TTarget.  
Public MethodFindIndexOverloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire List.  
Public MethodFindLastOverloaded. Searches for an T that matches the specified type TTarget and matches the conditions defined by the specified predicate, and returns the last occurrence within the entire collection.  
Public MethodFindLastIndexOverloaded. Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire List.  
Public MethodGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. (Inherited from System.Collections.CollectionBase)
Public MethodIndexOfGets the index in the collection of the specified T, if it exists in the collection.  
Public MethodInsertInserts the specified T into the collection at the specified index.  
Public MethodRemoveRemoves the specified T from the collection.  
Public MethodRemoveAtRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. (Inherited from System.Collections.CollectionBase)
Top
Protected Methods
 NameDescription
Protected MethodInnerAddRangeCopies the elements of the specified array to the end of the collection.  
Protected MethodOnAddRangePerforms additional custom processes before inserting a new element array into the System.Collections.CollectionBase instance.  
Protected MethodOnAddRangeCompletePerforms additional custom processes after inserting a new element array into the System.Collections.CollectionBase instance.  
Protected MethodOnClearOverridden. Performs additional custom processes when clearing the contents of the System.Collections.CollectionBase instance.  
Protected MethodOnClearCompleteOverridden. Performs additional custom processes after clearing the contents of the System.Collections.CollectionBase instance.  
Protected MethodOnCollectionChangedRaises the CollectionChanged event.  
Protected MethodOnCollectionChangingRaises the CollectionChanging event.  
Protected MethodOnInsertOverridden. Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance.  
Protected MethodOnInsertCompleteOverridden. Performs additional custom processes after inserting a new element into the System.Collections.CollectionBase instance.  
Protected MethodOnRemoveOverridden. Performs additional custom processes when removing an element from the System.Collections.CollectionBase instance.  
Protected MethodOnRemoveCompleteOverridden. Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance.  
Protected MethodOnSetOverridden. Performs additional custom processes before setting a value in the System.Collections.CollectionBase instance.  
Protected MethodOnSetCompleteOverridden. Performs additional custom processes after setting a value in the System.Collections.CollectionBase instance.  
Protected MethodOnValidateOverridden. Performs additional custom processes when validating a value.  
Top
Public Events
 NameDescription
Public EventCollectionChangedA System.ComponentModel.CollectionChangeEventHandler object that indicates the handler of the CollectionChanged event.  
Public EventCollectionChangingA System.ComponentModel.CollectionChangeEventHandler object that indicates the handler of CollectionChanging event.  
Top
See Also

Reference

CollectionBase<T> Class
GrapeCity.Win.Spread.InputMan.CellType Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.